Search results

18 packages found

handles error first callbacks

published 1.0.1 9 years ago
M
Q
P

Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call

published 1.0.0 9 years ago
M
Q
P

Error first callback for listening on the server.

published 0.0.2 10 years ago
M
Q
P

assert + error-first callback

published 0.1.3 9 years ago
M
Q
P

A tiny, TypeScript-first, result/error handling utility.

published 3.5.0 2 years ago
M
Q
P

Richer errors with first-class Typescript support.

published 0.4.4 9 months ago
M
Q
P

Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.

published 1.0.1 7 years ago
M
Q
P

ts first, error flow easily without try...catch

published 1.1.0 a year ago
M
Q
P

Throw an error if there is an error.

published 1.0.11 5 years ago
M
Q
P

simple, lightweight, dependency-free library to emulate error-first handling in async/await scenarios

published 0.1.0 6 years ago
M
Q
P

Restrict the given function only be invoked once. Repeat calls to the function return the value of the first invocation.

published 1.0.0 8 years ago
M
Q
P

Like a stack, the queue is a linear data structure that stores items in either a First In First Out (FIFO) or Last In First Out (LIFO) manner. With FIFO, the least recently added item is removed first, while with LIFO, the most recently added item is remo

published 1.0.0 5 days ago
M
Q
P

Simple auto focus to first Formik error

published 1.1.0 3 years ago
M
Q
P

The function converts anything into an object of Error (or subclasses) class. If `error` is an object of Error (or subclasses) class, it returns the original `error` object. With any other type, it will convert it into a string first and then an Error obj

published 1.0.0 2 years ago
M
Q
P

Simple auto focus to first Formik error

published 1.2.0 3 years ago
M
Q
P

Skiff is a privacy-first, end-to-end encrypted workspace with Mail, Calendar, Pages, and Drive product. Sign up for a free Skiff Mail account at [skiff.com](https://skiff.com). This monorepo contains all Skiff apps, libraries, and more. You can sign up, u

published 1.0.0 5 days ago
M
Q
P

Catch-first can simplify the code and handle exceptions better and more safely.

published 0.3.2 3 years ago
M
Q
P

Restart a long running error-first callback function on error.

published 2.0.0 8 years ago
M
Q
P